import { http } from "@/utils/http";
// 获取各类外部免费api

/** 获取当前ip位置 */
export const getIpInfo = () => {
  return http.request<any>("get", "https://api.vvhan.com/api/ipInfo");
};

/** 获取mock数据测试 */
export const getTestMock = (data?: object) => {
  return http.request<any>("post", "/testMock", { data });
};
